package com.zzyl.nursing.mapper;

import com.zzyl.nursing.vo.BindingElderInfoVo;
import com.zzyl.nursing.vo.ElderMessageVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MemberHealthyDataMapper {


    /**
     * 查询家人列表
     * @return
     */
    List<BindingElderInfoVo> selectBindingElderInfoVoList(long userId);

    /**
     * 获取已绑定老人列表
     * @return
     */
    List<ElderMessageVo> selectElderMessageVoList(@Param("userId") Long userId);

}
